<template>
  <sec-dialog
    title="重置密码"
    :visible="resetVisible"
    width="30%"
    :before-close="handleClose"
  >
    <h3 style="margin: 0">正在进行重置密码操作，是否继续？</h3>
    <h4>重置密码</h4>
    <sec-radio v-model="radio" label="1">短信发送</sec-radio>
    <span slot="footer" class="dialog-footer">
      <sec-button @click="handleClose">取 消</sec-button>
      <sec-button type="primary" @click="handleClose">确 定</sec-button>
    </span>
  </sec-dialog>
</template>
<script>
export default {
  props: {
    resetVisible: {
      type: Boolean,
      required: true
    }
  },
  data() {
    return { radio: '1' }
  },
  methods: {
    handleClose() {
      this.$emit('update:resetVisible', false)
    }
  }
}
</script>
